import { AppService } from "./app.service";
import { Injectable, NestMiddleware } from "@nestjs/common";
import { Request, Response, NextFuntion } from "express";
@Injectable()
export class LoggerMiddleware implements NestMiddleware {
  constructor(private readonly AppService: AppService) {}
  use(req: Request, res: Response, next: NextFuntion) {
    console.log("AppService", this.AppService);
    next();
  }
}
